import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";

import { WatchlistMiniModule } from "./../watchlist-mini/watchlist-mini.module";
import { UtilsModule } from "./../shared/utils.module";

import { SocketModule } from "./../socket/socket.module";
import { TabListModule } from "./../tab-list/tab-list.module";
import { BriefListModule } from "./../brief-list/brief-list.module";
import { StockRoutingModule } from "./stock-routing.module";
import { QuoteChartModule } from "quote";
import { KchartModule } from "kchart";
import { TickSeriesModule } from "tick-series";
import { SummaryAssistantModule } from "summary-assistant";

import { BasicInfoModule } from "./../basic-info/basic-info.module";
import { BidAskModule } from "./../bidask/bidask.module";
import { BroadcastModule } from "broadcast";
import { StockDetailModule } from "./../stock-detail/stock-detail.module";
import { StockInfoModule } from "./../stock-info/stock-info.module";
import { StockBlockModule } from "./stock-block/stock-block.module";
import { SearchModule } from "search";
import { QuoteTableModule  } from "quote";
import { AuthGuardModule, AuthGuardService } from "auth-guard";
import { F10Module } from "../f10/f10.module";
import { InteractiveModule } from "interactive-module";

import { StockComponent } from "./stock.component";
import { StockChartComponent } from "./stock-chart/stock-chart.component";
import { KchartSwitcherComponent } from "./stock-chart/kchart-switcher/kchart-switcher.component";
// import { StockFundComponent } from "./stock-fund/stock-fund.component";
import { StockTickComponent } from "./stock-tick/stock-tick.component";
import { StockComboComponent } from "./stock-combo/stock-combo.component";
import { StockComboTabsComponent } from "./stock-combo/stock-combo-tabs.component";
import { ComboInfoComponent } from "./stock-combo/combo-info/combo-info.component";
import { StockTopBarService } from "./stock-top-bar/stock-top-bar.service";
import { StockTopBarComponent } from "./stock-top-bar/stock-top-bar.component";
import { StockNavComponent } from "./stock-nav/stock-nav.component";
import { StockTsComponent } from "./stock-ts/stock-ts.component";


@NgModule({
  imports: [
    AuthGuardModule,
    BasicInfoModule,
    BidAskModule,
    BriefListModule,
    BroadcastModule,
    BrowserModule,
    F10Module,
    FormsModule,
    InteractiveModule,
    KchartModule,
    QuoteChartModule,
    QuoteTableModule,
    SearchModule,
    SocketModule,
    StockDetailModule,
    StockInfoModule,
    StockBlockModule,
    StockRoutingModule,
    SummaryAssistantModule,
    TabListModule,
    TickSeriesModule,
    UtilsModule,
    WatchlistMiniModule
  ],
  providers: [
    StockTopBarService
  ],
  declarations: [
    StockComponent,
    StockChartComponent,
    KchartSwitcherComponent,
    // StockFundComponent,
    StockTickComponent,
    StockComboTabsComponent,
    StockComboComponent,
    ComboInfoComponent,
    StockTopBarComponent,
    StockNavComponent,
    StockTsComponent
  ]
})
export class StockModule {

}